package com.ruoyi.inventory.mapper;

import java.util.List;
import com.ruoyi.inventory.domain.DeliveryDetail;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * 配货单-明细Mapper接口
 * 
 * @author xwj
 * @date 2024-11-10
 */
@Mapper
public interface DeliveryDetailMapper extends BaseMapper<DeliveryDetail> {
    /**
     * 查询配货单-明细
     * 
     * @param id 配货单-明细主键
     * @return 配货单-明细
     */
    public DeliveryDetail selectDeliveryDetailById(Long id);

    /**
     * 查询配货单-明细列表
     * 
     * @param deliveryDetail 配货单-明细
     * @return 配货单-明细集合
     */
    public List<DeliveryDetail> selectDeliveryDetailList(DeliveryDetail deliveryDetail);


    /**
     * 删除配货单-明细
     * 
     * @param id 配货单-明细主键
     * @return 结果
     */
    public int deleteDeliveryDetailById(Long id);

    /**
     * 批量删除配货单-明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDeliveryDetailByIds(Long[] ids);

    void deleteDeliveryDetailByDeliveryIds(Long[] deliveryIds);
}
